package com.lilicould.entity;

public class Apartment {
    private String buildingId;
    private String apartmentNo;
    private Integer bedroomCount;
    private Integer bathroomCount;

    public Apartment(String buildingId, String apartmentNo, Integer bedroomCount, Integer bathroomCount) {
        this.buildingId = buildingId;
        this.apartmentNo = apartmentNo;
        this.bedroomCount = bedroomCount;
        this.bathroomCount = bathroomCount;
    }

    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getApartmentNo() {
        return apartmentNo;
    }

    public void setApartmentNo(String apartmentNo) {
        this.apartmentNo = apartmentNo;
    }

    public Integer getBedroomCount() {
        return bedroomCount;
    }

    public void setBedroomCount(Integer bedroomCount) {
        this.bedroomCount = bedroomCount;
    }

    public Integer getBathroomCount() {
        return bathroomCount;
    }

    public void setBathroomCount(Integer bathroomCount) {
        this.bathroomCount = bathroomCount;
    }

    @Override
    public String toString() {
        return "apartment{" +
                "buildingId='" + buildingId + '\'' +
                ", apartmentNo='" + apartmentNo + '\'' +
                ", bedroomCount=" + bedroomCount +
                ", bathroomCount=" + bathroomCount +
                '}';
    }
}
